package com.handu.luna.core.domain.system;

import com.handu.luna.core.domain.BaseRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * Created by wangzailiang on 2014/7/15.
 */
public interface DeliverAreaRepository extends BaseRepository<DeliverArea>{

    @Query("select d from DeliverArea d order by d.id desc")
    public List<DeliverArea> findAll();

}
